From: Richard M. Stallman Date: Fri, 28 May 1993 21:22:17 +0000 (+0000) Subject: (put_line): Don't output \n\t unless more text follows. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~95841 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=c1380f31bfd2b5bf42f6ffce36cc871e8a01f827;p=emacs.git (put_line): Don't output \n\t unless more text follows. --- diff --git a/lib-src/fakemail.c b/lib-src/fakemail.c index 464a739e998..a78fbe87f26 100644 --- a/lib-src/fakemail.c +++ b/lib-src/fakemail.c @@ -436,12 +436,13 @@ put_line (string) } /* Output that much, then break the line. */ fwrite (s, 1, breakpos - s, rem->handle); - fputs ("\n\t", rem->handle); column = 8; /* Skip whitespace and prepare to print more addresses. */ s = breakpos; while (*s == ' ' || *s == '\t') ++s; + if (*s != 0) + fputs ("\n\t", rem->handle); } putc ('\n', rem->handle); }